﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;


namespace WindowsApplication2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            EmailValidate obj = new EmailValidate();
            obj.tb_output = tb_output;
            int result=obj.CheckEmail(textBox1.Text);
            MessageBox.Show(result.ToString());
        }


       


    }
}